package war2100.editor.menu.dialog;

import java.awt.BorderLayout;
import java.awt.FlowLayout;

import javax.swing.JDialog;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;

public class NewWorldSizeDialog extends JDialog {
	private static final long serialVersionUID = -1132343202985360999L;
	private JTextField tf1;
	private JTextField tf2;
	
	public NewWorldSizeDialog() {
		super();
		
		this.add(new JLabel("Neue Welt erstellen"),BorderLayout.PAGE_START);
		JPanel panel = new JPanel();
		panel.setLayout(new FlowLayout());
		tf1 = new JTextField("test");
		tf2 = new JTextField();
		panel.add(tf1);
		panel.add(tf2);
		this.add(panel,BorderLayout.NORTH);
		
		this.setVisible(true);
		this.setSize(200,100);
		this.setLocation(100,100);
		this.setLayout(new BorderLayout());
	}
}
